<?php
require_once('../../pers/inc.config.php');
require_once(OVF_FS_WEB_ROOT."/app/_inc/class.ovfDB.php");
require_once(OVF_FS_WEB_ROOT."/app/_inc/class.ovfDate.php");
require_once(OVF_FS_WEB_ROOT."/app/_inc/funct.mix.php");
require_once(OVF_FS_WEB_ROOT."/app/_inc/class.ovfSession.php");
$isPopUp = false;
$isReloadable = false;
$objSess = null;
if (reqVar('xsn')!='') {	
	session_start();
	$ax = explode('.',reqVar('xsn'));
	$subSess = $ax[0];	
	$sessObjKey = OVF_SESS_OBJ_PREF.$subSess;
	if(isset($_SESSION[$sessObjKey])
	&& is_object($_SESSION[$sessObjKey])){
		$objSess = $_SESSION[$sessObjKey];
		define('XSN',$subSess.".".$objSess->pageSequence);
		$sXSNQS = "xsn=".urlencode(XSN);
	}
}
?>
<HTML>
<HEAD>
<META Name="expires" CONTENT= "Mon, 1 Jan 2000 00:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="content-language" content="it">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=windows-1251">
<TITLE>OVERFLY - segnalazione anomalia</TITLE>
<link rel="shortcut icon" href='../_img/ovf.ico' type="image/x-icon" />
<link rel='stylesheet' href='../_com/css.stilePar.php' type='text/css' />
</HEAD>
<body class='hed1' style='margin-top:50px;' onLoad="window.focus();">
<table width='600' cellspacing='0' cellpadding='5' border='0' align='center'>
<tr>
   <td class='lab1' rowspan='2' align='center' valign='middle' width='50'>
      <img src="../_img/anomalia.png" >
   </td>
   <td class='lab1' style='font-size:10pt;'>
      OVERFLY - <?=_t('Relazioni commerciali')?>
   </td>
</tr>
<tr>
	<td class='lab1' style='font-size:16pt;'><?=_t('Segnalazione anomalia')?></td>
</tr>
</table>
<table width='600' cellspacing='1' cellpadding='5' border='0' align='center'>
<tr>
<?php 
if (is_object($objSess)) {
?>
<td class='lab1' width="20%"><?=_t('Utente')?></td>
<td class='txt1'><?
	echo _t('Gestione sito').$objSess->login;?></td>
</tr>
<?php 
}
?>
<tr>
<td class='lab1'><?=_t('Pagina')?></td>
<td class='txt1'><?=nl2br(hessg('pagina_self'))?></td>
</tr>
<?
if (hessg('errfile') != '') {
?>
<tr>
<td class='lab1'>Script</td>
<td class='txt1'><?=hessg('errfile')." - linea : ".hessg('errline')?></td>
</tr>
<?
}
?>
<tr>
<td class='lab1'><?=_t('Anomalia')." [".hessg('errno')."]"?></td>
<td class='txt1'><?=wordwrap(hessg('errstr'))?></td>
</tr>
<tr>
<td class='lab1'><?=_t('Sistema')?></td>
<td class='txt1'>PHP <?= PHP_VERSION."(".PHP_OS.")"?></td>
</tr>
<tr>
<td class='txt1' colspan='2' style='text-align:center;color:red;'>
<?=_t('Siete cortesemente pregati di fornire queste informazioni al servizio assistenza')?>.<br/>
<?=_t('Grazie per la collaborazione')?>.
</td>
</tr>
<?php 
if (is_object($objSess)) {
	$objSess->resetHistory();
?>
<tr>
<td class='cmd1' colspan='2' align='right'>
<a class='cmd1' href='<?=$objSess->getUrlIniz()?>'><?=_t("torna all'applicazione")?></a>
</td>
</tr>
<?php 
}?>
</table>
</body>
</HTML>
<?
exit();

function hessg($nome) {
   return htmlentities(qessg($nome));
}
function qessg($nome) {
   global $_GET;
   return (isset($_GET[$nome])) ? stripslashes($_GET[$nome]) : '';
}
